package com.szh.cloud.user.entity;

import java.io.Serializable;

public class PasswordEntity implements Serializable {
    private String userUuids;
    private String password;
    private String[] userUuidArray;

    public String getUserUuids() {
        return userUuids;
    }

    public void setUserUuids(String userUuids) {
        this.userUuids = userUuids;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String[] getUserUuidArray() {
        return userUuidArray;
    }

    public void setUserUuidArray(String[] userUuidArray) {
        this.userUuidArray = userUuidArray;
    }

    public void deal(){
        if(this.userUuids != null){
            this.userUuidArray = this.userUuids.split(",");
        }
    }

    @Override
    public String toString() {
        return "PasswordEntity{" +
                "userUuids='" + userUuids + '\'' +
                '}';
    }
}
